/****************************************************************************
* Lights Game Solution Finder
* By: Sean Zhang
* At: Apr, 2007
*  @: sea_sky_heart@yahoo.com.cn
*  H: http://360.yahoo.com/sea_sky_heart
*
* Reference:
*   http://dev.csdn.net/author/gz80/639df7d1a4694d279812b185efe5147f.html
*****************************************************************************/

#ifndef __Lights_hpp
#define __Lights_hpp


class Lights {
    static const int M = 25;
    static const int N = 5;
    int problem[25];
    int solution[25];
    int matrix[M][M+1];
  public:
    void init();
    void dump() const;
    void set_problem(int *_problem);
    const int* get_solution() const {return solution;}
    int solve();
};
   
#endif

